<!DOCTYPE html>
<html lang="en" ng-app="myApp" ng-controller="GlobalController">
<head>
    <title ng-bind="globalData.site_title"></title>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="favicon.png" />
    <link rel="stylesheet" href="/css/pure-min.css">
    <link rel="stylesheet" href="/css/main.css">
    <link rel="stylesheet" href="/css/index.css">
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link href="/css/video-js.css" rel="stylesheet">

    <script type="text/javascript" src="/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="/js/jquery.qrcode.min.js"></script>
    <script type="text/javascript" src="/js/main.js"></script>
<!-- 
    <script type="text/javascript" src="/js/videojs-ie8.min.js"></script>
     -->
</head>
<body>
<div class="header">
	<div class="body-box">
		<h1 class="left">中华喜帖<span>分享你的幸福</span></h1>
		<div class="right" id="login">
			<?php
				if (isset($_SESSION['ID'])) {
				 	echo '<span style="color:#fff;margin-right:10px;">用户：'.(isset($_SESSION['NAME'])?$_SESSION['NAME']:$_SESSION['USER']).'</span>';
				 	
				}else{
					echo '<a href="">登录</a>';
				}
		    ?>
		</div>
		<div class="right nav">
			<a href="/">首页</a>
			<a href="/modeler">模板风格</a>
			<a href="/help">帮助指南</a>
			<a href="/invitation/1/edit">开始制作</a>
		</div>
	</div>
</div>
<script type="text/javascript">
	var url = window.location.href;
$("#login a").attr("href","http://chinalove99.net/index.php?c=main&a=user_login&redirect="+encodeURI(url));

</script>